.tree_content_category{
    width: 250px;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    display: flex;
    flex-direction: column;
    align-content: stretch;
    justify-content: space-between;
    border-right: 1px solid #3b4756;
}

.tree_content_category .panel_header,
.category_commodity_list .panel_header,
.commodity-category-new .panel_header,
.modal-select-category .panel_header{
    height: 44px;
    line-height: 44px;
    background: -webkit-linear-gradient(top, #f3f3f3, #eeeeee);
    background: -moz-linear-gradient(top, #f3f3f3, #eeeeee);
    background: linear-gradient(top, #f3f3f3, #eeeeee);
    border-bottom: 1px solid #3b4756;
    text-align: center;
    font-size: 16px;
    margin: 0px;
}

.tree_content_category .panel-body,
.category_commodity_list .panel-body,
.commodity-category-new .panel-body,
.modal-select-category .panel-body {
    overflow-y: auto;
    flex-grow: 1;
}


.tree_content_category .panel_footer,
.category_commodity_list .panel_footer,
.commodity-category-new .panel_footer,
.modal-select-category .panel_footer{
    height: 36px;
    min-height: 36px;
    line-height: 36px;
    background: -webkit-linear-gradient(top, #f3f3f3, #eeeeee);
    background: -moz-linear-gradient(top, #f3f3f3, #eeeeee);
    background: linear-gradient(top, #f3f3f3, #eeeeee);
    border-top: 1px solid #3b4756;
    margin: 0px;
    padding-left: 10px;
    font-size: 12px;
    color: #929ca8;
}

.category_commodity_list{
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 250px;
    display: flex;
    flex-direction: column;
    align-content: stretch;
    justify-content: space-between;
    margin: 0px;
}

.category_commodity_list .panel_header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.category_commodity_list .panel_header button {
    height: 26px;
    line-height: 26px;
    padding: 0 12px;
}

.category_commodity_list .panel_header .button-add-category {
    margin-left: 10px;
    margin-top: 9px;
}

.category_commodity_list .button-group {
    display: -webkit-flex;
    -webkit-flex-direction: row;
    -webkit-align-items: flex-start;
    -webkit-justify-content: space-between;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 9px;
}

.category_commodity_list .panel_header .button-group .active {
    background-color: rgba(0, 0, 0, 0.14902);
}

.category_commodity_list .button-group button:last-child {
    border-radius: 0 2px 2px 0;
}

.masking {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.8);
}

.category_commodity_list .panel_header button {
    background-color: transparent;
    outline: 0;
    font-size: 14px;
    padding: 0 15px !important;
    height: 28px;
    border: 1px solid #d7d7d7;
    border-radius: 2px;
    line-height: 28px;
    color: #000;
}

.category_commodity_list .panel_header .input-group {
    display: -webkit-flex;
    -webkit-flex-direction: row;
    -webkit-align-items: flex-start;
    -webkit-justify-content: space-between;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 8px;
    margin-right: 10px;
}

.category_commodity_list .panel_header .form-control {
    background-color: white;
    border: 1px solid #d7d7d7;
    width: 300px;
    padding-left: 10px;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    height: 28px;
    line-height: 28px;
}

.category_commodity_list .panel_header .input-group-addon {
    flex-grow: 1;
    margin-top: -1px;
}

.commodity-category-new.modal-fixed {
    width: 600px;
    height: 450px;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-content: stretch;
    justify-content: space-between;
    margin-bottom: 0px;
}

.commodity-category-new .panel_header .cancel {
    float: right;
    line-height: 44px;
    padding-right: 10px;
    cursor: pointer;
}

.commodity-category-new .list-group {
    width: 100%;
    margin-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    border-bottom: 0;
    list-style: none;
}

.commodity-category-new .list-group .list-group-item {
    display: list-item;
    text-align: -webkit-match-parent;
    list-style: none;
    border: none;
    padding: 0px;
    margin-top: 10px;
    padding-top: 10px;
}

.commodity-category-new .list-group .form-control {
    width: 420px;
    background-color:white;
    border: 1px solid #d7d7d7;
    padding: 0 0 0 10px;
}

.commodity-category-new .input-group {
    display: -webkit-flex;
    -webkit-flex-direction: row;
    -webkit-align-items: flex-start;
    -webkit-justify-content: space-between;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 1;
}

.commodity-category-new .input-group label {
    white-space: nowrap;
    margin-bottom: 0;
    font-weight: normal;
}

.commodity-category {
    position: relative;
    width: 420px;
    padding: 5px 5px 10px 10px;
    padding-right: 35px;
    margin: 0;
    border: 1px solid #d7d7d7;
    height: 42px;
    min-height: 42px;
}

.commodity-category > .iconfont {
    font-size: 20px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 35px;
    display: -webkit-flex;
    -webkit-flex-direction: row;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.commodity-category > .iconfont:hover {
    cursor: pointer;
    background-color: #ececec;
}

.commodity-category-new .has-switch {
    position: relative;
    left: -320px;
}

.commodity-category-new .panel_footer button {
    height: 26px;
    line-height: 26px;
    padding: 0 12px;
}

.modal-select-category.modal-large {
    width: 600px;
    position: absolute;
    left: 50%;
    top: 60px;
    bottom: 30px;
    z-index: 3;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
}

.selected-category {
    display: -webkit-flex;
    -webkit-flex-direction: row;
    -webkit-align-items: flex-start;
    -webkit-justify-content: flex-start;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    align-content: flex-start;
    -webkit-align-content: flex-start;
    margin: 20px;
    padding: 5px 10px;
    border: 1px solid #d7d7d7;
    min-height: 42px;
    max-height: 87px;
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-select-category .panel_header .cancel {
    float: right;
    line-height: 44px;
    padding-right: 10px;
    cursor: pointer;
}

.modal-select-category .panel-body {
    background-color: white;
}

.modal-select-category .panel_footer button {
    height: 26px;
    line-height: 26px;
    padding: 0 12px;
}